package cn.chrilwe.pigpig.im.service.auth;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.stereotype.Service;

import cn.chrilwe.pigpig.im.service.auth.mark.PasswordMark;
import lombok.extern.slf4j.Slf4j;

/**
 * 
 * @author chrilwe
 * 2020-8-21
 */
@Service
@ConditionalOnBean(PasswordMark.class)
@Slf4j
public class UsernamePasswordService {

	public boolean auth(String username, String password) {
		log.info("======password mode=======");
		return false;
	}

}
